
import request from "@/sheep/request";

export default {
//公司资料
 getCompanyMemoList: (params) =>
    request({
        url: 'api/company_memo/index',
        method: 'GET',
        params,
        custom: {
            showSuccess: false,
            successMsg: '',
            showError: true,
            errorMsg: '',
            showLoading: true,
            loadingMsg: '加载中',
            auth: true,
        },
    }),
     //公司资料添加
     getCompanyMemoAdd: (params) =>
   request({
       url: 'api/company_memo/add',
       method: 'POST',
       params,
       custom: {
        showSuccess: true,
        successMsg: '',
        showError: true,
        errorMsg: '',
        showLoading: false,
        loadingMsg: '加载中',
        auth: true,
       },
   }),
//公司资料修改
getCompanyMemoEdit: (params) =>
   request({
       url: 'api/company_memo/edit',
       method: 'POST',
       params,
       custom: {
        showSuccess: true,
        successMsg: '',
        showError: true,
        errorMsg: '',
        showLoading: false,
        loadingMsg: '加载中',
        auth: true,
       },
   }),
//公司资料del
getCompanyMemoDel: (params) =>
   request({
       url: 'api/company_memo/del',
       method: 'GET',
       params,
       custom: {
        showSuccess: true,
        successMsg: '',
        showError: true,
        errorMsg: '',
        showLoading: false,
        loadingMsg: '加载中',
        auth: true,
       },
   })
}